<%@ page import="com.hf.fetch.FetchGroup" %>



<div class="fieldcontain ${hasErrors(bean: fetchGroupInstance, field: 'name', 'error')} required">
	<label for="name">
		<g:message code="fetchGroup.name.label" default="Name" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="name" required="" value="${fetchGroupInstance?.name}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: fetchGroupInstance, field: 'friendGroups', 'error')} ">
	<label for="friendGroups">
		<g:message code="fetchGroup.friendGroups.label" default="friendGroups" />
	</label>
	<g:select name="friendGroups"  noSelection="${['':'']}" from="${com.hf.fetch.FetchGroup.list()}"optionKey="id" multiple="multiple" optionKey="id" size="10" value="${fetchGroupInstance?.friendGroups}" class="many-to-many"/>
</div>